import {createAction} from '@reduxjs/toolkit';

/**
 * 全局重置Redux状态的Action
 *
 * 这个action会被各个slice监听并执行相应的重置操作
 */
export const RESET_ALL_STATE = 'RESET_ALL_STATE';

export const resetAllState = createAction(RESET_ALL_STATE);
